<?php
/**
 * @Author: anchen
 * @Date:   2017-09-02 09:15:15
 * @Last Modified by:   anchen
 * @Last Modified time: 2017-09-02 09:31:33
 */

include('MMysql.class.php');

$configarr = [
    'host'=>'localhost',
    'port'=>'3306',
    'user'=>'root',
    'passwd'=>'rootpass',
    'dbname'=>'news',
];
$db = new MMysql($configarr);

